home *** CD-ROM | disk | FTP | other *** search
- .TH TINTERP
- 6 "IRIT Version 6.0"
- .SH NAME
- TINTERP
-
-
-
- TrivarType TINTERP( TrivarType TV );
-
- Given a trivariate data structure, computes a new trivariate in the
- same function space (i.e. same knot sequences and orders) that interpolates
- the given triavriate, TV, at the node parameter values.
-
- Example:
-
- tv = tbspline( 3, 3, 2,
- list( list( list( ctlpt( E3, 0.1, 0.1, 0.0 ),
- ctlpt( E3, 0.2, 0.5, 1.1 ),
- ctlpt( E3, 0.3, 0.1, 2.2 ) ),
- list( ctlpt( E3, 0.4, 1.3, 0.5 ),
- ctlpt( E3, 0.5, 1.7, 1.7 ),
- ctlpt( E3, 0.6, 1.3, 2.9 ) ),
- list( ctlpt( E3, 0.7, 2.4, 0.5 ),
- ctlpt( E3, 0.8, 2.6, 1.4 ),
- ctlpt( E3, 0.9, 2.8, 2.3 ) ) ),
- list( list( ctlpt( E3, 1.1, 0.1, 0.5 ),
- ctlpt( E3, 1.3, 0.2, 1.7 ),
- ctlpt( E3, 1.5, 0.3, 2.9 ) ),
- list( ctlpt( E3, 1.7, 1.2, 0.0 ),
- ctlpt( E3, 1.9, 1.4, 1.2 ),
- ctlpt( E3, 1.2, 1.6, 2.4 ) ),
- list( ctlpt( E3, 1.4, 2.3, 0.9 ),
- ctlpt( E3, 1.6, 2.5, 1.7 ),
- ctlpt( E3, 1.8, 2.7, 2.5 ) ) ),
- list( list( ctlpt( E3, 2.8, 0.1, 0.4 ),
- ctlpt( E3, 2.6, 0.7, 1.3 ),
- ctlpt( E3, 2.4, 0.2, 2.2 ) ),
- list( ctlpt( E3, 2.2, 1.1, 0.4 ),
- ctlpt( E3, 2.9, 1.2, 1.5 ),
- ctlpt( E3, 2.7, 1.3, 2.6 ) ),
- list( ctlpt( E3, 2.5, 2.9, 0.7 ),
- ctlpt( E3, 2.3, 2.8, 1.7 ),
- ctlpt( E3, 2.1, 2.7, 2.7 ) ) ) ),
- list( list( KV_OPEN ),
- list( KV_OPEN ),
- list( KV_OPEN ) ) );
- tvi = TINTERP( tv );
-
- creates a quadratic by quaratic by linear trivairatiate tvi that
- interpolates the control points of tv at the node parameter values.
-